package com.harboursoftware.xstorage.ac;

import com.harboursoftware.xstorage.XStorageException;
import com.harboursoftware.xstorage.results.ErrorResult;

public class InvalidCannedAccessPolicyException extends XStorageException {
	private String invaildCannedAccessPolicy;
	
	public InvalidCannedAccessPolicyException(String invaildCannedAccessPolicy, String message) {
		super(message);
		this.invaildCannedAccessPolicy = invaildCannedAccessPolicy;
	}
	
	public InvalidCannedAccessPolicyException(String invaildCannedAccessPolicy) {
		this.invaildCannedAccessPolicy = invaildCannedAccessPolicy;
	}

	public String getInvaildCannedAccessPolicy() {
		return invaildCannedAccessPolicy;
	}

	public void setInvaildCannedAccessPolicy(String invaildCannedAccessPolicy) {
		this.invaildCannedAccessPolicy = invaildCannedAccessPolicy;
	}
}
